package models

import (
	"time"
)

type User struct {
	Id			int 		`xorm:"not null pk autoincr INT(10)"`
	Num			string  	`xorm:"unique VARCHAR(255)"`
	Pwd			string  	`xorm:"VARCHAR(255)"`
	Createtime 	time.Time 	`xorm:"DATETIME"`
	Deleteat 	time.Time 	`xorm:"DATETIME"`
	Username	string		`xorm:"VARCHAR(255)"`
	Phone		string		`xorm:"VARCHAR(12)"`
	Email		string		`xorm:"BIT(1)"`
	Status		int			`xorm:"BIT(1)"`
	Power		int			`xorm:"not null INT(11)"`
}